package service;

import java.util.List;

import entity.Users;

public interface IUserService {
	public List<Users> QueryAllUsers();//查询所有用户
	public Users SelectByID(int UID);//根据ID查询用户
	public Users SelectByID(String name);//根据name查询用户
	public Boolean UpdateByID(int Uid,Users user);//根据ID修改用户
	public Boolean DeleteByID(int uid);//根据ID删除用户
	public Boolean addUser(Users user );//添加用户
	public List<Users> querybypage(int pageindex,int pagesize);//分页查询
	public int GetAllCount();
}
